@import url('https://fonts.googleapis.com/css2?family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');
body {
    margin: 0;
    background-image:url(../media/background.jpeg);
    background-size:cover;
}
#kursy_walut {
    position:absolute;
    right:30px;
    bottom:250px;
    align-items: center;
    max-width: 300px;
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(0, 0, 0, 0.2) 100%
    );
    
    /* SZKŁO: Rozmycie tła */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* BORDER: Ciemnoszary, ale bardzo cienki i elegancki */
    border: 1px solid rgba(50, 50, 50, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3); /* Ciemniejszy dół daje efekt 3D */
    border-radius: 24px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}
.currency-top{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-top:10px;

}
.currency-tile {
    text-align: center;
    color: white;
    padding: 0 20px;
}

.currency-tile:last-child {
    border-right: none;
}

.currency-code {
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-right:5px;
    margin-bottom: 8px;
    font-weight:700;
    font-family:'Sour Gummy', cursive;
}

.currency-rate {
    font-size: 1.6em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.trend-up {
    color: #4ade80;
    font-size: 0.8em;
    margin-left: 5px;
}

.trend-down {
    color: #f87171;
    font-size: 0.8em;
    margin-left: 5px;
}
#ice-wind {
    position:absolute;
    align-items: center;
    min-width: 340px;
    min-height:180px;
    padding: 30px;
    background: linear-gradient(
        135deg, 
        rgba(55, 55, 55, 0.267) 0%, 
        rgba(0, 0, 0, 0.2) 100%
    );
    background-image: url(../media/icewind.png);
    background-size: cover;
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter: blur(15px);
    filter: blur(1.5px);
    opacity:0.95;
    border: 1px solid rgba(50, 50, 50, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:60px;
    font-family:'Sour Gummy', cursive;
    font-weight:600;
    text-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.4), /* Podstawowy ciemny cień odrywajacy tekst od tła */
        0 0 15px rgba(173, 216, 230, 0.6), /* Jasnoniebieska (lodowa) poświata */
        0 0 30px rgba(135, 206, 235, 0.4); /* Szerszy, delikatny mroźny blask */
    right:30px;
    bottom:30px;
    transition: all 0.7s ease;
}
a{
    text-decoration:none;
    color:rgba(241, 238, 238, 0.779);
}
#ice-wind:hover{
    color:rgb(160, 160, 160);
    transition: all 0.7s ease;
    text-shadow: 
        0 4px 10px rgba(9, 36, 83, 0.4), /* Podstawowy ciemny cień odrywajacy tekst od tła */
        0 0 15px rgba(10, 148, 194, 0.6), /* Jasnoniebieska (lodowa) poświata */
        0 0 30px rgba(135, 206, 235, 0.4);
    filter: blur(0px);
}
.menu{
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(50, 50, 50, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 100;
}
.hamburger-line {
    display: block;
    width: 32px;
    height: 4px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.menu-list {
    position: absolute;
    top: 90px;
    right: 30px;
    min-width: 180px;
    padding: 18px 18px 18px 18px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(0, 0, 0, 0.22) 100%
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(50, 50, 50, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    z-index: 101;
    display: none;
    flex-direction: column;
    gap: 12px;
}
.menu-list.active {
    display: flex;
}
.menu-list a {
    color: white;
    text-decoration: none;
    font-family: 'Sour Gummy', cursive;
    font-size: 1.1em;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: color 0.2s;
}
.menu-list a:last-child {
    border-bottom: none;
}
.menu-list a:hover {
    color: #4ade80;
}
.menu-close {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    margin-bottom: 10px;
    align-self: flex-end;
}
.menu-x {
    font-size: 2em;
    color: #f87171;
    font-weight: bold;
    line-height: 1;
    display: block;
    padding: 0 4px;
}
#container{
    position: absolute;
    top: 30px;
    right:30px;
}
.yt{
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(50, 50, 50, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 600px) {
    body {
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 100vh;
        overflow-x: hidden;
    }
    .menu {
        position:fixed;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    .yt {
        position:fixed;
        top: 12px;
        left: 12px;
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    .hamburger-line {
        width: 24px;
        height: 3px;
        margin: 4px 0;
    }
    .menu-list {
        top: 65px;
        right: 10px;
        min-width: 140px;
        padding: 12px 10px 10px 10px;
        border-radius: 18px;
        gap: 8px;
    }
    #kursy_walut {
        position: static;
        margin: 32px auto 0 auto;
        max-width: 95vw;
        padding: 16px;
        border-radius: 18px;
        font-size: 0.95em;
        margin-top:30px;
        right: unset;
        bottom: unset;
    }
    #ice-wind {
        min-width: 90vw;
        min-height: 200px;
        padding: 12px;
        font-size: 4em;
        border-radius: 18px;
        right: unset;
        bottom: unset;
        margin: 20px auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
.yt-triangle {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
    border-radius: 3px;
    margin-right: -6px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}